package com.v2.k28;


import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 测试事务4
 *
 */
public class Test {

	public static void main(String[] args) {

		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class);

		TransactionTemplateService transactionTemplateService =
				(TransactionTemplateService) applicationContext.getBean("transactionTemplateService");
		transactionTemplateService.test();
	}

}
